package com.example.userserver.sms.config;//package com.example.jinzproduct.sms;
//
//import com.example.commons.config.CacheConfiguration;
//import com.example.jinzproduct.sms.server.SmsSender;
//import org.springframework.cache.Cache;
//import org.springframework.cache.CacheManager;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * <pre>
// *
// * </pre>
// * <small> 2018/8/31 19:37 | Aron</small>
// */
//@Configuration
//public class SmsConfig {
//    @Bean
//    SmsManager smsManager(SmsSender sender, SmsBasicConfigProperties properties) {
//        Cache cache = CacheConfiguration.dynaConfigCache(properties.getCacheKey(), properties.getCodeExpireTime());
//        return new SmsManager(sender, properties, cache);
//    }
//
//}
